{{include '../common/header.html'}}

<body>
    <div class="page-container">
        <table class="table table-border table-bordered table-hover table-bg table-sort">
            <thead>
                <tr class="text-c">
                    <th width="30">ID</th>
                    <th width="100">姓名</th>
                    <th>手机号</th>
                    <th>身份证号</th>
                    <th width="60">宿舍类型</th>
                </tr>
            </thead>
            <tbody>
                {{each list v}}
                <tr class="text-c">
                    <td>{{v.id}}</td>
                    <td>{{v.name}}</td>
                    <td>{{v.mobile}}</td>
                    <td>{{v.id_card}}</td>
                    <td>{{if v.dorm == 0}} 住宿舍 {{else}} 外宿 {{/if}}</td>
                    
                </tr>
                {{/each}}

            </tbody>
        </table>
        <div class="mt-20" id="page"></div>
    </div>
    </div>
    <!--_footer 作为公共模版分离出去-->
    {{include '../common/script.html'}}
 
</body>

</html>